package com.hr.mapper;

import com.hr.pojo.HrDept;
import com.hr.pojo.HrDeptExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HrDeptMapper {
    int countByExample(HrDeptExample example);

    int deleteByExample(HrDeptExample example);

    int deleteByPrimaryKey(Integer deptid);

    int insert(HrDept record);

    int insertSelective(HrDept record);

    List<HrDept> selectByExample(HrDeptExample example);

    HrDept selectByPrimaryKey(Integer deptid);

    int updateByExampleSelective(@Param("record") HrDept record, @Param("example") HrDeptExample example);

    int updateByExample(@Param("record") HrDept record, @Param("example") HrDeptExample example);

    int updateByPrimaryKeySelective(HrDept record);

    int updateByPrimaryKey(HrDept record);
}